import yudingRouter from './yudingRouter.js'
import twoRouter from './twoRouter.js'
import threeRouter from './threeRouter.js'
export default [{
		path: '/bjxx',
		name: 'bjxx',
		component: () => import( /* webpackChunkName: "four" */ '@/components/tabbar/bjxx.vue')
	},
	{
		path: '/sjsp',
		name: 'sjsp',
		component:  () => import( /* webpackChunkName: "four" */ '@/components/tabbar/shangjiashangpin.vue')
	},

	{
		path: '/xgmc',
		name: 'xgmc',
		component: () => import( /* webpackChunkName: "four" */ '@/components/tabbar/xgmc.vue')
	},
	{
		path: '/', //一级路由
		component: () => import( /* webpackChunkName: "homepage" */ '@/components/homePage.vue')
	},
	{
		path: '/login',
		component: () => import( /* webpackChunkName: "homepage" */ '@/components/login.vue')

	},
	{
		path: '/home',
		name: 'Home',
		component: () => import( /* webpackChunkName: "homepage" */ '@/components/Home.vue'),

		redirect: '/yuding',
		children: [
			...yudingRouter
		]
	},
	{
		path: '/one',
		name: 'one',
		component: () => import( /* webpackChunkName: "one" */ '@/components/tabbar/one.vue')
	},

	{
		path: '/two',
		name: 'two',
		component: () => import( /* webpackChunkName: "two" */ '@/components/tabbar/two.vue'),
		redirect: '/two/attention',
		children: [
			...twoRouter
		]
	},

	{
		path: '/three',
		name: 'three',
		component: () => import( /* webpackChunkName: "three" */ '@/components/tabbar/three.vue'),
		redirect: '/three/fxjx',
		children: [
			...threeRouter
		],
	},
	{
		path: '/four',
		name: 'four',
		component: () => import( /* webpackChunkName: "four" */ '@/components/tabbar/four.vue'),
		children: [{
				path: '/sc',
				name: 'sc',
				component: () => import( /* webpackChunkName: "four" */ '@/components/tabbar/sc.vue')
			},
			{
				path: '/dt',
				name: 'dt',
				component: () => import( /* webpackChunkName: "four" */ '@/components/tabbar/dt.vue')
			},
			{
				path: '/zg',
				name: 'zg',
				component: () => import( /* webpackChunkName: "four" */ '@/components/tabbar/zg.vue')
			}
		]
	},
	{
		path: '/sj',
		name: 'sj',
		component: () => import( /* webpackChunkName: "sj" */ '@/components/tabbar/sj.vue'),
	},


]
